FROM python:3.9

WORKDIR /automagic

COPY . /automagic

RUN pip install -i https://mirrors.aliyun.com/pypi/simple/ -r requirements.txt

RUN chmod 777 start.sh
EXPOSE 8000
CMD ["sh","./start.sh"]